<html>
<head><meta charset="utf-8"><title>regress=ice is not working? · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html">regress=ice is not working?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="207418884"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207418884" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207418884">(Aug 19 2020 at 15:00)</a>:</h4>
<p>hey, I didn't have time to properly investigate this one but I was going over <a href="https://github.com/rust-lang/rust/issues/75682">#75682</a> trying to find where this regressed</p>



<a name="207418926"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207418926" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207418926">(Aug 19 2020 at 15:00)</a>:</h4>
<p>from what the issue says this regressed between 1.40 and 1.43</p>



<a name="207418942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207418942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207418942">(Aug 19 2020 at 15:00)</a>:</h4>
<p>got the dates of those versions and run <code>cargo-bisect-rustc</code></p>



<a name="207418980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207418980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207418980">(Aug 19 2020 at 15:01)</a>:</h4>
<div class="codehilite"><pre><span></span><code>santiago@galago myapp (master)]$ cargo bisect-rustc --start 2019-12-16 --end 2020-04-20 --access github --regress=ice
installing nightly-2019-12-16
std for x86_64-unknown-linux-gnu: 17.73 MB / 17.73 MB [=================================================================================================================================================================] 100.00 % 13.82 MB/s testing...
RESULT: nightly-2019-12-16, ===&gt; No
uninstalling nightly-2019-12-16

installing nightly-2020-04-20
std for x86_64-unknown-linux-gnu: 17.58 MB / 17.58 MB [=================================================================================================================================================================] 100.00 % 12.54 MB/s testing...
RESULT: nightly-2020-04-20, ===&gt; No
uninstalling nightly-2020-04-20

ERROR: the end of the range (nightly-2020-04-20) does not reproduce the regression
</code></pre></div>



<a name="207419132"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207419132" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207419132">(Aug 19 2020 at 15:02)</a>:</h4>
<p>but as you can see here ...</p>



<a name="207419139"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207419139" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207419139">(Aug 19 2020 at 15:02)</a>:</h4>
<div class="codehilite"><pre><span></span><code>santiago@galago myapp (master)]$ cargo +nightly-2019-10-15-x86_64-unknown-linux-gnu build
   Compiling myapp v0.1.0 (/tmp/myapp)
error[E0277]: the trait bound `InterruptSectorManager: std::marker::Copy` is not satisfied
 --&gt; src/main.rs:5:43
  |
5 | static FOO: [InterruptSectorManager; 2] = [InterruptSectorManager { field: &amp;() }; 2];
  |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `InterruptSectorManager`
  |
  = note: the `Copy` trait is required because the repeated element will be copied

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
error: could not compile `myapp`.

To learn more, run the command again with --verbose.
[santiago@galago myapp (master)]$ cargo +nightly-2020-07-27-x86_64-unknown-linux-gnu build
   Compiling myapp v0.1.0 (/tmp/myapp)
thread &#39;rustc&#39; panicked at &#39;assertion failed: promoted.is_none()&#39;, src/librustc_mir/transform/check_consts/qualifs.rs:248:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&amp;template=ice.md

note: rustc 1.47.0-nightly (6c8927b0c 2020-07-26) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin

note: some of the compiler flags provided by cargo are hidden

error: could not compile `myapp`.

To learn more, run the command again with --verbose.
</code></pre></div>



<a name="207419158"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207419158" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207419158">(Aug 19 2020 at 15:02)</a>:</h4>
<p>it should be working</p>



<a name="207419187"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207419187" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207419187">(Aug 19 2020 at 15:02)</a>:</h4>
<p>unless I'm getting what <code>regress=ice</code> does in a wrong way</p>



<a name="207419201"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207419201" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207419201">(Aug 19 2020 at 15:02)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116083">@pnkfelix</span> <span class="user-mention" data-user-id="262810">@Chris Simpkins</span></p>



<a name="207431124"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207431124" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207431124">(Aug 19 2020 at 16:36)</a>:</h4>
<p>I'm pretty sure regress=ice was broken at some point (or at least I have a vague recollection of discovering it had been broken by some other PR to <code>cargo-bisect-rustc</code>, but I also thought I had addressed the breakage ... let me see</p>



<a name="207431246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207431246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207431246">(Aug 19 2020 at 16:38)</a>:</h4>
<p>okay this is what I was thinking of: <a href="https://github.com/rust-lang/cargo-bisect-rustc/pull/78#issuecomment-629361133">https://github.com/rust-lang/cargo-bisect-rustc/pull/78#issuecomment-629361133</a></p>



<a name="207431394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207431394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207431394">(Aug 19 2020 at 16:39)</a>:</h4>
<p>but also: <span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> , I'm confused by your demonstration.</p>



<a name="207431474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress%3Dice%20is%20not%20working%3F/near/207431474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/regress.3Dice.20is.20not.20working.3F.html#207431474">(Aug 19 2020 at 16:39)</a>:</h4>
<p>you showed cargo +nightly-2020-07-27 as illustrating the ICE, but the range you fed into cargo-bisect-rustc only went up to 2020-04-20; do you know if 2020-04-20 itself also demonstrates the ICE when you run it by hand?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>